<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>电子产品调查问卷</title>
	</head>
	<body>
		<h1>American Metric 电子产品调查表</h1>
		<form action="wangyi.html" method="get ">
		<p><label for="name">姓名：</label>
			<input type="text" name="name" id="name" placeholder="输入必须是2-6位字符"  pattern="[\u4E00-\u9FA5]{2,6}" required/>
		</p>
		<p>
			购买日期：<select id="year" name="year" required>
					<option value="2">2012</option>
					<option value="3">2013</option>
					<option value="4">2014</option>
					<option value="5">2015</option>
					<option value="6">2016</option>
					<option value="7">2017</option>
			</select><label for="year">年</label>
				<select id="month" name="month" required>
					<option value="1">01</option>
					<option value="2">02</option>
					<option value="3">03</option>
					<option value="4">04</option>
					<option value="5">05</option>
					<option value="6">06</option>
					<option value="7">07</option>
					<option value="8">08</option>
					<option value="9">09</option>
					<option value="10">10</option>
					<option value="11">11</option>
					<option value="12">12</option>
				</select><label for="month">月</label>
				<select id="day" name="day" required>
					<option value="1">01</option>
					<option value="2">02</option>
					<option value="3">03</option>
					<option value="4">04</option>
					<option value="5">05</option>
					<option value="6">06</option>
					<option value="7">07</option>
					<option value="8">08</option>
					<option value="9">09</option>
					<option value="10">10</option>
					<option value="11">11</option>
					<option value="12">12</option>
					<option value="13">13</option>
					<option value="14">14</option>
					<option value="15">15</option>
					<option value="16">16</option>
					<option value="17">17</option>
					<option value="18">18</option>
					<option value="19">19</option>
					<option value="20">20</option>
					<option value="21">21</option>
					<option value="22">22</option>
					<option value="23">23</option>
					<option value="24">24</option>
					<option value="25">25</option>
					<option value="26">26</option>
					<option value="27">27</option>
					<option value="28">28</option>
					<option value="29">29</option>
					<option value="30">30</option>
					<option value="31">31</option>
				</select><label for="day">日</label>
			</p>
			<p><label for="mail">电子邮件地址：</label>
				<input id="mail" type="email" maxlength="20" placeholder="www.baidu.com"/>
			</p>
			<p><label for="tel">手机号码：</label><input  id="tel" type="text" size="40" name="tel" placeholder="输入必须是以13/15/18开头的11位数字" required pattern="1[358]\d{9}" />
			</p>
			<p>
				你是否查看过我们的在线产品目录？
				<input name="answer" type="radio"  id="yes" checked/><label for="yes">是</label>
				<input name="answer" type="radio"  id="no"/><label for="no">否</label>
			</p>
			<p>
				如果查看过，你对那些产品有兴趣购买？（选择提供的商品）<br />
			<input type="checkbox" id="television" name="buy"  value="television" /><label for="television">大屏幕电视机</label>
			<input type="checkbox" id="audio" name="buy" value="audio"/><label for="audio">音频设备</label>
			<input type="checkbox" id="video" name="buy" value="video" /><label for="video">视频设备</label>
			<input type="checkbox" id="camera" name="buy" value="camera" /><label for="camera">相机</label>
			</p>
			<p><label for="textarea">在填写订单之前，你还有什么问题、意见或建议？</label><br/>
				<textarea id="textarea" name="textarea" rows="4" cols="40" required>你的输入：</textarea>
			</p>
			<p><input type="submit" value="提交"/>
			<input type="reset" value="重置" disabled/>
			</p>
			</form>
	</body>
</html>
